//
//  AppColorConfig.h
//  dzm
//
//  Created by dzmmac on 15/1/26.
//  Copyright (c) 2015年 dzmmac. All rights reserved.
//

#ifndef dzm_AppColorConfig_h
#define dzm_AppColorConfig_h


#import "UIColor+Hex.h"


/**
 *  使用rgb颜色
 */
#define RGB(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1]
#define RGBA(r, g, b, alpha) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)]

/**
 *  使用16位表达
 */
#define RGBHex(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

#define RGBAHex(rgbValue, alphaValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:(alphaValue)]


#define GLOBLE_TEXT_COLOR_148      RGBA(148, 148, 148, 1)
#define GLOBLE_TEXT_COLOR_148_HEX  @"#949494"

// 分割线颜色
#define GLOBLE_SEPETOR_LINE_COLOR [UIColor getHexColorWithHexString:@"#e4e4e4"]


#define GLOBLE_LINE_COLOR RGB(244,153,41)


#define GLOBLE_BACKGROUND_COLOR  RGB(244, 244, 244)


#endif
